package day20170417.ch01;

public class Cat extends Animal implements Pet{
	
	/**
	 * 继承了父类，必须要重写父类构造方法
	 * @param name	宠物名字
	 */
	public Cat(String name) {
		super(name);
	}
	public Cat(String name, int age) {
		super(name, age);
	}
	public Cat(String name, int age, String color) {
		super(name, age, color);
	}
}
